/*
 * 获取列表数据
 * @Author: Chenliang(930225)
 * @Date: 2019-10-11 14:38:13
 * @LastEditors  : Chenliang(930225)
 * @LastEditTime : 2020-01-19 12:54:26
 */

import request from '@/utils/request';
/**
 * @description: 获取列表数据
 * @param {type} 
 */
export function getReport(Auth) {
    return request(`https://haolaoshi.sdp.101.com/v0.1/cases/collections`, {
        method: 'GET',
        Auth: Auth
    });
}
export function getRoles(Auth) {
    return request(`http://rbac.sdp.101.com/v0.1/roles/my`, {
        method: 'GET',
        Auth: Auth
    });
}
export function getMenus(Auth) {
    return request(`https://manage-portal-api.sdp.101.com/v2/apps/a10121e2-01dd-449e-9c0c-e942fb426d92/app_menus/my`, {
        method: 'GET',
        Auth: Auth
    });
}
export function getAPP(Auth, url) {
    return request(url, {
        method: 'GET',
        Auth: Auth
    });
}